package cn.sixthquestion;

public class Student {
    private int sid;
    private String time;
    private String major;

    public Student(){

    }

    public Student(int sid, String time, String major) {
        this.sid = sid;
        this.time = time;
        this.major = major;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", time='" + time + '\'' +
                ", major='" + major + '\'' +
                '}';
    }
}
